Program Restructuring Through Clustering Technique
نویسندگان
چکیده
Program restructuring is a key method to improve the quality of ill-structured programs and therefore to increase the understandability and reduce the maintenance cost. It is a challenging task and much research is still ongoing. This paper presents an approach to program restructuring at the functional level based on the clustering technique with cohesion as the major concern. Clustering has been widely used to group related entities together. The approach focuses on automated support for identifying ill-structured or low cohesive functions and providing heuristic advice in both development and evolution phases. A new similarity measure is defined and intensively studied. The approach is used to restructure real industrial programs. The empirical observations show that the heuristic advice provided by the approach can help software designers make better decision of why and how to restructure a program. Specific source code level software metrics are presented to demonstrate the value of the approach.
منابع مشابه
Using Clustering Technique to Restructure Programs
Program restructuring or refactoring is often required when a function becomes too large or is involved in multiple activities and therefore exhibits low cohesion. A critical factor in restructuring is to increase cohesion and decrease coupling. There are many existing methods which measure cohesion and coupling but do not provide much information as to how to restructure the program, while som...
متن کاملProgram restructuring using clustering techniques
Program restructuring is a key method for improving the quality of ill-structured programs, thereby increasing the understandability and reducing the maintenance cost. It is a challenging task and a great deal of research is still ongoing. This paper presents an approach to program restructuring inside of a function based on clustering techniques with cohesion as the major concern. Clustering h...
متن کاملA Compressive Survey on Restructuring User Search Results by Using Feedback Session
this internet search engine relevance may be enhanced by means of considering end user search goal. In addition to the individual search engine optimization experience is usually increased through inferring individual search goals. This paper proposes a novel approach to infer user search goals by analyzing search engine query logs known as feedback session. First framework is proposed to disco...
متن کاملApplications of clustering techniques to software partitioning, recovery and restructuring
The artifacts constituting a software system are sometimes unnecessarily coupled with one another or may drift over time. As a result, support of software partitioning, recovery, and restructuring is often necessary. This paper presents studies on applying the numerical taxonomy clustering technique to software applications. The objective is to facilitate those activities just mentioned and to ...
متن کاملRestructuring Distributed Object-Oriented Software Using Hierarchical Clustering
The software restructuring techniques present solutions for the software-hardware mismatch problem in which the software structure does not match the available hardware platform. In Distributed Object Oriented (DOO) systems, software engineers face many challenges to solve the software-hardware mismatch problem. One important aspect of DOO software systems is the efficient distribution of softw...
متن کامل